import request from '@/utils/request'
export function talentList(parameter) {
    return request({
        url:
            "/oa-service/sys/talentPool/selectTermByPage",
        method: 'post',
        data: parameter
    })
}
export function saveTalentPool(parameter) {
    return request({
        url:
            "/oa-service/sys/talentPool" + (parameter.id > 0 ? '/update' : '/add'),
        method: 'post',
        data: parameter
    })
}
export function uploadFiles(parameter) {
    return request({
        url:
            "/oa-service/sys/talentPool/uploadFiles",
        method: 'post',
        data: parameter
    })
}
export function remove(parameter) {
    return request({
        url:
            "/oa-service/sys/talentPool/delete",
        method: 'get',
        params: parameter
    })
}